package org.ax.pojo.device;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data //设备故障
public class DeviceFault  implements Serializable {

	private static final long serialVersionUID =  8188475556086509325L;
	@TableId
	private String deviceFaultId;

	private String deviceId;
	@TableField(exist = false)
	private Device device;
	private String deviceFaultCause;

	private String deviceFaultDetail;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private java.time.LocalDateTime deviceFaultDate;

	private String deviceFaultMaintenance;


}
